wayland: Don't ever try to set surface buffer scale when not supported
authorJonas Ådahl <jadahl@gmail.com>
Tue, 24 Feb 2015 07:00:39 +0000 (15:00 +0800)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 25 Feb 2015 01:22:02 +0000 (20:22 -0500)
commita70b478a5c1bf631dc1053b8711d3f6b64ea77e6
treefdb6e763350b759cd069440dfc3546b885c362c6
parent40f2af665d59f2732ac587734b4958682d5f7c7d
wayland: Don't ever try to set surface buffer scale when not supported

If the compositor is too old for handling surface buffer scales, never
tyr to set change it. This will effectively always leave it to its
initial state, i.e. 1.

https://bugzilla.gnome.org/show_bug.cgi?id=745076
gdk/wayland/gdkwindow-wayland.c